<?php
html::printPath('programType.form-title');
$msg->printMessages();
?>

<ul class="commandList">
    <li class="addLi"><?php echo html::anchor('admin/programType/edit', text::get('programType.createNew')) ?></li>
    <li class="changeOrderAction"><?php echo html::anchor('admin/programType/orderForm', text::get('application.changeOrder')) ?></li>
</ul>

<?php
$elb = new EntityListBuilder($this, $programTypeList, 'code');
$elb->text('code');
$elb->text('code_part');
$elb->text('name');
$elb->text('description');
$elb->boolean('with_accommodation');
$elb->boolean('single_days_only');
$elb->text('order_number')->labelKey('application.orderNumber');
$elb->write();
